Method and apparatus for overwriting data on recording-medium and the recording medium

ABSTRACT

In one embodiment, the recording medium includes a user data area on which one or more recording ranges are allocated and a management area. The method includes receiving a command to record the data on a closed recording range. The closed recording range has no recordable position. An open recording range having a recordable position is selected from one or more open recording ranges on the user data area, and the data is recorded starting from the recordable position of the selected open recording range.

This application claims the benefit of priority on U.S. Provisional Application No. 60/581,717, filed on Jun. 23, 2004, the contents of which are hereby incorporated by reference in their entirety.

This is a continuation application of application Ser. No. 11/158,358 filed Jun. 22, 2005, the entire contents of which are hereby incorporated by reference.

This application claims the benefit of priority on Korean Application No. 10-2004-0085288, filed on Oct. 25, 2004, the contents of which are hereby incorporated by reference in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to recording media, and methods and apparatuses associated therewith.

2. Discussion of the Related Art

A new type of high density optical disc, such as a Blu-ray RE-writable disc (BD-RE), that can record and store high definition audio and video data for a long period of time, is being developed. As shown in FIG. 1, the BD-RE has a lead-in area, a data zone, and a lead-out area. An inner spare area (ISA) and an outer spare area (OSA) are respectively allocated at a fore end and a rear end of the data zone. A recording unit of the BD-RE is a cluster. Referring to FIG. 1, whether or not a defect area exists within the data zone can be detected during the recording of the data. When a defect area is detected, replacement recording operations are performed. For example, the data that is intended to be recorded in the defect area is recorded in a spare area (e.g., the inner spare area (ISA)). Then, position information of the detected defect area and the replacement recorded spare area are recorded and stored as management information in a defect list (DFL) of a disc management area (DMA) located within the lead-in area.

During a read operation of this data, the data recorded in the spare area is read and reproduced, instead of the data of the defect area, by accessing the DFL; thereby preventing a data recording/reproducing error from occurring.

A write-once recordable blu-ray disc (BD-WO) is also under development. Unlike a rewritable disc, data can only be recorded once in the entire area of a write-once optical disc; and data cannot be physically overwritten in the write-once optical disc. Nevertheless, there may occur instances, where it would be desirable to edit or partially modify recorded data. For example, for simplicity of use of the host or the user, the virtual overwriting of the data may be desirable.

SUMMARY OF THE INVENTION

The present invention relates to a method of recording data on a recording medium.

In one embodiment, the recording medium includes a user data area on which one or more recording ranges are allocated and a management area. The method includes receiving a command to record the data on a closed recording range. The closed recording range has no recordable position. An open recording range having a recordable position is selected from one or more open recording ranges on the user data area, and the data is recorded starting from the recordable position of the selected open recording range.

The present invention also relates to an apparatus for recording data on a recording medium.

In one embodiment, the recording medium includes a user data area on which one or more recording ranges are allocated and a management area. The apparatus includes a reading unit for recording the data on the recording medium, and a controller. The controller receives a command to record the data on a closed recording range. The closed recording range has no recordable position. The controller selects an open recording range having a recordable position from one or more open recording ranges on the user data area, and the controller controls the reading unit to record the data starting from the recordable position of the selected open recording range.

The present invention is also directed to a recording medium.

In one embodiment, the recording medium includes a user data area on which one or more recording ranges are allocated. Each recording range is one of an open recording range, having a recordable position, and a closed recording range, having no recordable position. A management area on which management information for the recording ranges is recorded is further included. An open recording range may be selected from one or more open recording ranges on the user data area if a command to record data to a closed recording range on the user data area is received. The data is recorded starting from the recordable position of the selected open recording range.

The present invention is further related to a method of reproducing data recorded on a recording medium.

In one embodiment, the recording medium includes a user data area on which one or more recording ranges are allocated. Each recording range is one of an open recording range, having a next recordable position, and a closed recording range, having no next recordable position. The recording medium further includes a management area. The method includes receiving a reproducing command to reproduce first data recorded in a first area of a recording range, and reproducing second data recorded in a second area replacing the first area. Here, the recording range including the first area is a closed recording range, and the first and second areas are managed by entry information.

The present invention still further relates to an apparatus for reproducing data recorded on a recording medium. The recording medium includes a user data area on which one or more recording ranges are allocated. Each recording range is one of an open recording range, having a next recordable position, and a closed recording range, having no next recordable position. The recording medium also includes a management area. The apparatus includes a reproducing unit for reproducing the data from the recording medium, and a controller. The controller receives a reproducing command to reproduce first data recorded in a first area of a recording range, and the controller controls the reproducing unit to reproduce second data recorded in a second area replacing the first area. Here, the recording range including the first area is a closed recording range, and the first and the second areas are managed by an entry information.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the principle of the invention. In the drawings:

FIG. 1 illustrates a structure of a general re-writable optical disc and a method for managing defects;

FIG. 2 illustrates a logical overwriting method for a write-once optical disc according to an embodiment of the present invention;

FIG. 3 illustrates an example of logical overwriting being performed on an open sequential recording range (SRR) in a write-once optical disc according to an embodiment of the present invention;

FIG. 4 illustrates an example of logical overwriting being performed on a closed SRR in a write-once recordable optical disc according to an embodiment of the present invention;

FIG. 5 illustrates a next write address (NWA) selecting method during logical overwriting in a sequential recording mode (SRM) of a write-once optical disc according to an embodiment of the present invention;

FIG. 6 illustrates a sequential recording range information (SRRI) structure for a sequential recording mode according to an embodiment of the present invention;

FIG. 7 illustrates a logical overwriting method for a random recording mode (RRM) according to an embodiment of the present invention; and

FIG. 8 illustrates a block diagram of an optical recording and reproducing apparatus according to an embodiment of the present invention.

DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS

Reference will now be made in detail to example embodiments of the present invention, which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.

FIG. 2 illustrates a logical overwriting method for a write-once high density optical disc according to an embodiment of the present invention. As shown, the write-once high density optical disc includes a lead-in area, a data zone, and a lead-out area. The data zone includes an inner spare area (ISA), an outer spare area (OSA), and a user data area. The lead-in area is used as an area for recording diverse management information for recording/reproducing data on/from the optical disc. The lead-in area may be provided with a temporary disc management area (TDMA), which is an area for recording defect management information and recording management information for the optical disc. A separate additional TDMA within a spare may also be allocated for defects that may frequently occur during the use of the optical disc and for updating the recording management information.

In a write-once optical disc having the above-described structure, data recording may be categorized into two types: a sequential recording mode (SRM) type and a random recording mode (RRM) type. In the SRM type, in order to facilitate recording of data on the optical disc, the user data area in which actual user data is recorded is divided into a plurality of consecutive recording areas for recording data. Each of the divided plurality of consecutive recording areas is referred to as a Sequential Recording Range (SRR). The recording of data in a SRR is performed on a next recordable (or writable) non-recorded cluster. An address of the next recordable non-recorded cluster in an SRR is referred to as a Next Writable Address (NWA). More specifically, in the SRR, a directly subsequent unrecorded area after a recorded area becomes the NWA, and the recording of data begins from the NWA. Therefore, when sequential recording of data is performed starting from the NWA, the NWA may dynamically increase in accordance with the recording of the data.

In the above-described SRM type, a command for writing (or overwriting) data in a recorded area or portion within a SRR (SRR #n) may be given (or made) by a user or a host. In this case, due to the characteristic of the write-once optical disc, physical writing of the data can only be performed once, and so writing (or recording) of data on a recorded area is not possible. In other words, overwriting of data cannot be physically performed. According to embodiments of the present invention, in the SRM type of the recordable high density optical disc, when an overwriting command requesting data to be overwritten on a recorded area is given (or made), the data that is to be written on the recorded portion is instead recorded beginning at a NWA of the same SRR, beginning at a NWA of another SRR, or in a spare area. This is referred to as a Logical Overwrite (LOW).

For example, as shown in FIG. 2, when a writing (or recording) command for data B of a recorded data A area within an SRR (SRR #n) is transmitted, the data B that is to be recorded in the data A area is either recorded at a next writable area, which is the NWA, of the SRR including the data A area or, alternatively, recorded in a spare area (e.g., the OSA). When the data is recorded in the NWA of the SRR including the data A area, a next writable area from the SRR (SRR #n) becomes NWA′. After performing the replacement recording of the data, as described above, information on the position of the area in which data was to be overwritten (i.e., data A area) and the replacement recorded area (i.e., the data B area of the user data area or the data B area of the spare area) is recorded in the TDMA as a LOW entry. The LOW entry is broadly categorized into two types: a Re-Allocated Defect (RAD) type and a Continuous Re-allocated Defect (CRD) type.

The LOW entry of the RAD type includes information on a logical overwriting performed in a single cluster. Each entry includes a first physical sector number (PSN) of a first cluster of the area in which logical overwriting is performed, and a first physical sector number (PSN) of a first cluster of the area in which replacement recording of the logical overwriting is performed. On the other hand, the LOW entry of the CRD type includes information on a logical overwriting performed in a plurality of consecutive clusters and, therefore, uses two entries. More specifically, one of the two entries includes a first PSN of a first cluster wherein logical overwriting is performed, and a first PSN of a first cluster wherein replacement recording of the logical overwriting is performed. The other entry includes a first PSN of a last cluster wherein logical overwriting is performed, and a first PSN of a last cluster wherein replacement recording of the logical overwriting is performed.

Therefore, when the optical disc logically overwritten, as described above, is reproduced in a later process, an optical disc drive refers to the entry information recorded in the TDMA and identifies the information of the logically overwritten area and the replacement recorded area, thereby being able to reproduce the replacement recorded data B area instead of the data A area. In the SRM type, it may be preferable to perform the replacement recording of the logical overwriting in the NWA of the user data area rather than the spare area. More specifically, in the recordable optical disc, the spare area is also used for replacement recording a defect area as a method of defect management. Therefore, when the spare area is to be used for the replacement recording of the logical overwriting, there lies a problem of having to ensure, in advance, a sufficient range of spare area, the usage of which is unclear, during the initialization of the optical disc. Thus, in order to avoid such problems, it may be preferable to perform replacement recording of the logical overwriting in the NWA of the user data area. When performing logical overwriting in the user data area using the SRM type, the logical overwriting can be performed when the SRR is open and when the SRR is closed.

FIG. 3 illustrates an example of logical overwriting being performed on an open SRR in a write-once optical disc according to an embodiment of the present invention. In the SRM, an open SRR refers to a non-recorded SRR or an SRR having some recordable area (i.e., unrecorded portion) remaining. Open SRRs have an NWA. A closed SRR refers to when a recordable area in an SRR no longer remains or exists, or to an SRR changed to a closed state, even though a unrecorded area or portion does exist, but is no longer allowed due to a request from the user or host. Therefore, an NWA does not exist for a closed SRR. Referring to FIG. 3, when an overwriting command for a recorded area is received for an open SRR, the replacement recording may be performed in any of the open SRRs. In other words, when a command for overwriting data B on a recorded data A area is received for an open SRR (SRR #n), the data B that is to be recorded on the data A area is either replacement recorded beginning at the NWA of the SRR including the data A area, or replacement recorded beginning at the NWA of any other open SRR.

FIG. 4 illustrates an example of logical overwriting being performed on a closed SRR in a write-once optical disc according to an embodiment of the present invention. Referring to FIG. 4, when the writing command given (or made) by the host is an overwriting command on a recorded area in a closed SRR, since the closed SRR does not include an NWA, the replacement recording is performed in an open SRR. At this point, when overwriting data on the recorded area of the closed SRR, the replacement recording may also be performed in a spare area. More specifically, the replacement recording is performed beginning at an NWA an open SRR or in a spare area such as the OSA. For a closed SRR, the replacement recording may be specifically performed in a spare area instead of the user data area.

As described above, the logical overwriting in a write-once high density optical disc in the SRM is performed at a NWA. In one embodiment, a maximum of 16 SRRs may be allocated, and a maximum of 16 NWAs may be included, accordingly. A method for selecting an NWA according to an embodiment of the present invention will now be described in detail with reference to FIG. 5.

FIG. 5 illustrates an NWA selecting method during logical overwriting in a sequential recording mode of a write-once optical disc according to an embodiment of the present invention. Referring to FIG. 5, a plurality of sequential recording ranges (SRRs) may be allocated in the user data area of the write-once high density optical disc. And, in this embodiment, a maximum of 16 SRRs may be allocated. Each of the open SRRs includes an NWA indicating a next writable area.

According to this embodiment, for the plurality of NWAs that may exist, when a writing command requests data to be overwritten on a recorded area, replacement recording is performed in the open SRR containing the data to be overwritten. More specifically, when an NWA exists within an SRR (SRR #n) to which a data overwriting command has been given (or made), replacement recording is performed at the NWA of this open SRR (SRR #n). If the SRRs to which the overwriting command has been given (or made) is unavailable, for example, if the open SRR has been changed (or modified) to closed SRR, the replacement recording is performed at a NWA of a neighboring SRR.

Therefore, when the SRR (SRR #n) to be over-written is a closed SRR, replacement recording is performed in a previous open SRR (SRR #n−1) or a next open SRR (SRR #n+1) of the SRR (SRR #n). Also, the SRR area may be unavailable because the unrecorded portion may be inadequate and insufficient for the replacement recording. In other words, the remaining recordable area of the SRR (SRR #n) or the neighboring SRR (SRR #n+1 or SRR #n−1), may be insufficient, and so replacement recording may not be performed at a single time.

In an embodiment of the present invention, when the remaining recordable area of the SRR or the neighboring SRRs is insufficient to perform replacement recording, the replacement recording is then performed in an open SRR nearest the SRR #n having sufficient recordable (or writable) area. When replacement recording of the data is performed as described above, continuity of the replacement recorded area may be ensured. Furthermore, waste in the re-allocated defect (RAD) entry or the continuous re-allocated defect (CRD) entry, in which the addresses of the overwriting area and the replacement recording area is recorded, can be prevented.

Meanwhile, in another embodiment of the present invention, when the remaining recordable area for the SRR or the neighboring SRR is insufficient to perform replacement recording, replacement recording may be performed in the insufficient area and replacement recording of the remaining data may be continued in a next neighboring open SRR. When using the above-described method, a plurality of RAD or CRD entries may exist in order to indicate replacement recording information of a logical overwriting. Furthermore, in yet another embodiment of the present invention, replacement recording of the logical overwriting is sequentially performed starting from the first open SRR. More specifically, regardless of which SRR the logical overwriting is associated, the replacement recording is performed starting from the first open SRR.

When the optical disc drive performs replacement recording on the neighboring SRR or starting from the first open SRR, the information on the first open SRR can be obtained by referring to sequential recording range information (SRRI) that is recorded in the TDMA. This will be described in detail with reference to FIG. 6. FIG. 6 illustrates an SRRI structure according to an embodiment of the present invention. Referring to FIG. 6, the SRRI recorded in the TDMA includes a “SRRI Header” field, a “List of SRR entries” field, and a “SRRI Terminator” field.

The “SRRI Header” field includes a “SRRI identifier=‘SR’ ” field, a “number of SRR entries” field, a “number of Open SRRs” field, and a “List of Open SRR numbers” field. Herein, the number of SRR entries, which will be described in a later process, is recorded in the “number of SRR entries” field. The number of open SRRs is recorded in the “number of Open SRRs field”, and a number list of the open SRRs is recorded in the “List of Open SRR numbers” field. In the “List of SRR entries” field, a list of the Open SRR numbers is recorded. Herein, a number list of a maximum of 16 allocatable open SRRs is recorded. When the number of allocated open SRRs is lower than ‘16’, then ‘0’ is recorded in an unused Open SRR field. The SRR numbers are aligned by a decreasing (or descending) order. Therefore, the optical disc drive refers to the “List of Open SRR numbers” field when performing logical overwriting so as to search and find a replacement recordable SRR. More specifically, referring to FIG. 6, when the logical overwriting is to be performed in a recorded area of a 9^(th) SRR (SRR #9), the data may be replacement recorded on the 9^(th) SRR, or replacement recording may be performed on a neighboring (i.e., the closest) SRR, which is the 8^(th) SRR or the 10^(th) SRR, or replacement recording may be performed starting from the 1^(st) SRR.

A list of SRR entries is recorded in the “List of SRR entries” field, of the SRRI. Herein, the SRR entries are sequentially allocated and recorded starting from ‘1’. At this point, 8 bytes are allocated in an SRR entry, wherein certain information is recorded. The SRR entry includes a “Start PSN of the SRR #n” field, a “Session start” field, and a “LRA in the SRR #n” field. More specifically, a physical sector number (PSN) of a starting position (or area) of SRR #n is allocated in the size of 28 bits and recorded in the “Start PSN of the SRR #n” field. The “Session start” field is the size of 1 bit, and a last recorded area (LRA) of SRR #n is recorded in the “LRA in the SRR #n” field, which has a size of 28 bits.

Thus, the optical disc drive can identify the position information of a recorded area of the corresponding SRR by using the information included in the SRR entry. The NWA indicating the next writable area may be determined by using the “LRA in the SRR #n” field information. Namely, by using the physical sector number (PSN) recorded in the “LRA in the SRR #n”, the first sector of the next cluster becomes the NWA. If ‘0’ is already recorded in the “LRA in the SRR #n” field, this indicates that data is not recorded in SRR #n. Therefore, the sector recorded in the “Start PSN of the SRR #n” field becomes the NWA.

As described above, recording of data in the recordable high density optical disc can be broadly categorized into an SRM type and an RRM type. In the RRM type, the recording of data is performed randomly on all non-recorded clusters. In the above-described RRM type, information on the recorded status for the clusters in the user data area is reflected in a space bit map (SBM). More specifically, the SBM includes bits matching one-to-one with the clusters of the user data area so as to indicate the recording status of the corresponding area. The method for logical overwriting data in the RRM type will now be described with reference to FIG. 7.

FIG. 7 illustrates a logical overwriting method in an RRM type of recordable optical disc according to an embodiment of the present invention. Referring to FIG. 7, in the RRM type, when an overwriting command is transmitted from the host for overwriting data on a recorded area, the data that is intended to be recorded in the recorded area is replacement recorded in, for example, a spare area. Due to the characteristic of the RRM type, since the data is randomly recorded in the clusters in the user data area, performing replacement recording of the logical overwriting in the user data area may not be efficient. Therefore, in the RRM type, the data of the logical overwriting may be replacement recorded in the spare area such as the OSA. At this point, the spare area may also be used as a replacement area for a defect area, and so the size of the spare area may be sufficiently assigned and allocated during an initialization of the optical disc.

FIG. 8 illustrates a block diagram of an optical recording and reproducing apparatus according to the present invention. Referring to FIG. 8, the optical recording and/or reproducing apparatus includes a recording/reproducing device 10 for performing recording/reproduction on the optical disc, and a host, or controller 20 for controlling the recording/reproducing device 10. (Herein, the recording/reproducing device 10 is often referred to as an “optical disc drive”, and both terms will be used in the description of the present invention).

Basically, in the above-described optical recording and reproducing apparatus, the host 20 gives a writing or reproduction command to write or reproduce to/from a particular area of the optical disc to the recording/reproducing device 10, and the recording/reproducing device 10 performs the recording/reproduction to/from the particular area on the optical disc in response to the command from the host 20. The recording/reproducing device 10 includes an interface unit 12 for performing communication, such as exchanges of data and commands, with the host 20; a pickup unit 11 for writing/reading data to/from the optical disc directly; a data processor 13 for receiving a signal from the pickup unit 11 and recovering a desired signal value, or modulating a signal to be recorded into a signal that can be written on the optical disc; a servo unit 14 for controlling the pickup unit 11 to read a signal from the optical disc accurately, or write a signal on the optical disc accurately; a memory 15 for temporarily storing diverse information including management information and data; and a microcomputer 16 for controlling various parts of the recording/reproducing device 10.

In the optical recording and/or reproducing apparatus, process steps of an embodiment of the method for recording data on the recordable optical disc will now be described. Upon inserting the recordable optical disc into the optical recording and/or reproducing apparatus, management information is read from the optical disc and stored in the memory 15 of the recording/reproducing device 10. Herein, if the user desires to write on a particular area of the optical disc, the host 20, which responds to a writing command indicating this desire, provides information on a desired writing position to the recording/reproducing device 10, along with a set of data that is to be written.

The microcomputer 16 in the recording/reproducing device 10 receives the writing command, and determines (i) whether the area of the optical disc in which the host 20 desires to write the data is a defective area or not and/or (ii) whether the area has already been recorded on based on the management information stored in the memory 15. Then, the microcomputer 16 performs data writing according to the writing command from the host 20 on an area which is neither the defective area nor a recorded area. For example, if the area is in a closed SSR or has a starting address less than the LRA of the SSR to be written, then the area is determined as already recorded.

While performing writing of data as described above, when overwriting is to be performed in accordance with the user command, the data that is to be recorded (or written) on the overlapping (or overwriting) area is replacement recorded in another area within the data zone, such as the user data area or the spare area, as described above with respect to one of the embodiments of the present invention. Then, corresponding information including RAD and CRD entries that are created during this process are recorded in the TDMA within the lead-in area. For this, the microcomputer 16 provides the position information of the replacement recorded area and the data according to the command of the host to the servo unit 14 and the data-processor 13, so that the recording or replacement recording is completed at a desired position on the optical disc through the pickup unit 11.

Hereinafter, a method for reproducing data, which is recorded as described above, from the optical disc according to the present invention will be described in detail. When the write-once optical disc, wherein the data is recorded, is inserted into the optical recording and/or reproducing apparatus, management information is read from the optical disc and stored in the memory 15 of the recording/reproducing device 10, for use at the time of recording/reproduction data to/from the optical disc.

Herein, if the user desires to read (or reproduce) data from a particular area of the optical disc, the host 20, which responds to a reading command indicating this desire, provides information on a desired reading position to the recording/reproducing device 10. The microcomputer 16 in the recording/reproducing device 10 receives the reading command, and using the management information determines whether the area of the optical disc from which the host 20 desires to read the data from is an area that has been replaced. If so, the microcomputer 16 determines a position of the replacement area from the management information. However, when replacement recording has not been performed, the microcomputer 16 reads (or reproduces) the data of the indicated area and transmits the read information to the host 20. If replacement recording (e.g., RAD/CRD type) has been performed, the microcomputer 16 reads the data from the determined replacement area and transmits the read information to the host 20.

As described above, the method and apparatus for overwriting data on the recordable high density optical disc according to the present invention has the following advantages. By providing an efficient method for overwriting data in accordance with a recording mode of the write-once high density optical disc, when overwriting data on a recorded area within the optical disc, the write-once high density optical disc can be more efficiently managed and reproduced.

While the invention has been disclosed with respect to a limited number of embodiments, those skilled in the art, having the benefit of this disclosure, will appreciate numerous modifications and variations there from. For example, while described with respect to a Blu-ray write-once optical disk in several instances, the present invention is not limited to this standard of write-once optical disk, to write-once recording media or to optical discs as the recording medium. It is intended that all such modifications and variations fall within the spirit and scope of the invention. 

1. A method of recording data on a recording medium including a user data area on which one or more recording ranges are allocated and a management area, the method comprising: receiving a command to record the data on a closed recording range, the closed recording range having no recordable position; selecting an open recording range having a recordable position from one or more open recording ranges on the user data area; and recording the data starting from the recordable position of the selected open recording range, wherein each recording range allocated on the user data area is identified by a sequential identification number, and the selecting step further including checking management information recorded on the management area, the management information including a list of the one or more open recording ranges, the list having the identification number of each open recording range, and selecting the open recording range based on the list of the management information wherein an identification number of a recording range that becomes closed in response to the recording is removed from the list of the one or more open recording ranges.
 2. The method of claim 1, wherein the data is recorded sequentially from the recordable position of the selected open recording range.
 3. The method of claim 1, further comprising: checking the last recorded position of the selected open recording range.
 4. The method of claim 3, wherein the recordable position of the selected open recording range indicates the first sub-recording unit of the first recording unit following the last recorded position of the selected open recording range.
 5. The method of claim 1, further comprising: recording entry information in the management area, the entry information indicating a start address of the recorded area to which the command is made and a start address of the recordable position of the selected open recording range.
 6. The method of claim 1, wherein the selected open recording range is an open recording range nearest to the closed recording range.
 7. The method of claim 1, wherein the selecting step selects the first open recording range from the one or more open recording ranges.
 8. The method of claim 1, wherein the recording step is continued in another open recording range if the selected open recording range does not include an unrecorded area large enough for the data.
 9. An apparatus for recording data on a recording medium including a user data area on which one or more recording ranges are allocated and a management area, the apparatus comprising: an optical pickup configured to record the data on the recording medium; and a controller, operably coupled to the pickup, configured to receive a command to record the data on a closed recording range, the closed recording range having no recordable position, the controller configured to select an open recording range having a recordable position from one or more open recording ranges on the user data area, and the controller configured to control the pickup to record the data starting from the recordable position of the selected open recording ranges, wherein each recording range allocated on the user data area is identified by sequential identification number, and the controller further configured to check management information recorded on the management area, the management information including a list of the one or more open recording ranges, the list having the identification number of each open recording range, and the controller further configured to select the open recording range based on the list of the management information; management information, and the controller further configured to cause an identification number of a recording range that becomes closed in response to recording data to be removed from the list of the one or more open recording ranges.
 10. The apparatus of claim 9, wherein the controller controls the pickup to record the data sequentially from the recordable position of the selected open recording range.
 11. The apparatus of claim 9, wherein the controller checks the last recorded position of the selected open recording range from management information recorded on the management area, and controls the pickup to record the data from the first sub-recording unit of the first unrecorded recording unit following the last recorded position.
 12. The apparatus of claim 9, wherein the controller selects an open recording range nearest to the closed recording range.
 13. The apparatus of claim 9, wherein the controller selects the first open recording range from the one or more open recording ranges.
 14. A computer-readable medium comprising: a user data area on which one or more recording ranges are allocated, each recording range is one of an open recording range having a recordable position and a closed recording range having no recordable position; and a management area on which management information for the recording ranges is recorded, wherein an open recording range is selected from one or more open recording ranges on the user data area if a command to record data is made to a closed recording range on the user data area, and the data is recorded starting from the recordable position of the selected open recording ranges, and wherein each recording range allocated on the user data area is identified by a sequential identification number, and the management information includes a list of the one or more open recording ranges, the list having the identification number of each open recording range, and being updated to remove an identification number of a recording range that becomes closed, and the identification number of each open recording range being used to select the corresponding open recording range to record data.
 15. The computer-readable medium of 14, wherein the management information includes the last recorded position of each recording range allocated on the user data area.
 16. The computer-readable medium of 14, wherein the recordable position of the selected open recording range indicates the first sub-recording unit of the first unrecorded recording unit following the last recorded position of the selected open recording range.
 17. The computer-readable medium of 14, wherein the management area further includes entry information which indicates a start position of an recording area specified by the command and a start position of the recordable position, from which the data is recorded, of the selected recording range. 